Pod::Spec.new do |s|
  s.name                = "SEGMenberPoints"
  s.version             = "0.0.1"
  s.summary             = "用户积分组件"
  s.homepage            = "http://192.168.1.11:9000/svn/segi_c/ios/SEGMenberPoints"
  s.license             = "MIT"
  s.author              = { "山刘" => "liushan@segimail.com" }
  s.source              = { :git => "http://gitlab.uhomecp.com:9200/ios/segmenberpoints.git"}
  s.static_framework    = true
  s.requires_arc        = true
  s.platform            = :ios, "8.0"  

  s.prefix_header_file = 'SEGMenberPoints/Class/SEGMemberPointsPrefixHeader.pch'

  # 积分组件
  s.subspec 'SEGIntegral' do|comh|
    comh.source_files  = "SEGMenberPoints/Class/SEGIntegral/Actions/*","SEGMenberPoints/Class/SEGIntegral/Controller/*","SEGMenberPoints/Class/SEGIntegral/Model/*","SEGMenberPoints/Class/SEGIntegral/View/*"
    comh.public_header_files = "SEGMenberPoints/Class/SEGIntegral/Actions/*.h","SEGMenberPoints/Class/SEGIntegral/Controller/*.h","SEGMenberPoints/Class/SEGIntegral/Model/*.h","SEGMenberPoints/Class/SEGIntegral/View/*.h"
    comh.resources = ['SEGMenberPoints/Class/SEGIntegral/Resources/*.xib']
  end 

  # 邀请有礼
  s.subspec 'SEGInvite' do|ivt|
    ivt.source_files  = "SEGMenberPoints/Class/SEGInvite/**/*"
    ivt.public_header_files = "SEGMenberPoints/Class/SEGInvite/**/*.h"

    ivt.dependency "SVProgressHUD"
    #TODO:RAC拆包
    # ivt.dependency "SEGStandard/SEGShare"
    ivt.dependency "commonThirds/SEGWindmill"
  end  

  s.dependency "CommonMediator"
  s.dependency "Commom"
end
